//
//  HomeCell.swift
//  MMTest
//
//  Created by liujianlong on 2022/9/19.
//

import UIKit

class HomeCell: UITableViewCell {
    @IBOutlet var name: UILabel!
    @IBOutlet var content: UILabel!
    @IBOutlet var bgView: UIView!
    @IBOutlet var electNum: UILabel!
    var block:((_ button:UIButton)->Void)?
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    @IBAction func actionForBtn(_ sender: UIButton) {
        self.block?(sender)
    }
}
